#pragma once
#include "Terminal.h"
class DEF_INTERFACECIRCUIT MentorPartCaeDecal
{
public:
	MentorPartCaeDecal(void);
	~MentorPartCaeDecal(void);

public:
	string &GetDecalName(){ return m_decalName;}
	void SetDecalName( string &name );

	int GetLabelNumber(){ return m_labelNums; }
	void SetLabelNumber( int num );

	int GetPieceNumber(){ return m_pieces; }
	void SetPieceNumber(int num );

	int GetTerminalNumber(){ return m_terminals; }
	void SetTerminalNumber(int num);

	void AddCircuitUnit( CCircuitUnit *pUnit );
	vector<CCircuitUnit*> GetCircuitUnit();

	void AddTerminal(Terminal* pTerm);
	vector<Terminal*> GetTerminal();

// 	void AddFreeText(CCircuitAnnotation* pAnnotation);
// 	vector<CCircuitAnnotation*> GetFreeTexts();
private:
	string m_decalName;
	int m_labelNums;
	int m_pieces;
	int m_terminals;

	vector<CCircuitUnit*> m_sonUnit;
	vector<Terminal*> m_termsList;
};

